local storage check if key exists

56

local storage check if key exists -

if (localStorage.getItem("username") === null) {
  //...
}

Comments

Submit
0 Comments